<%-- 
    Document   : index
    Created on : 22 avr. 2013, 01:55:47
    Author     : CooLMaN
--%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@page contentType="text/html" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
        <title>JSP Page</title>

        <style>table {
                border-width:1px; 
                width:50%;
            }
            td { 
                border-width:1px;
                border-style:solid; 
                border-color:red;
                width:50%;
            }

            th { 
                border-width:1px;
                border-style:solid; 
                border-color:black;
                width:50%;
            }      
        </style>

    </head>
    <body>
        <h1>Summoner</h1>

<%

	if(request.getParameter("summoner") == null){
            
            System.out.println("summoner est null");
        } else{
            
             System.out.println("summoner est pas null");
        }
%>
        <table style="margin-left:195px; margin-top: 100px;">
            <tr>
                <th>internalName</th>
                <th>name</th>
                <th>acctId</th>
                <th>profileIconId</th>
                <th>revisionDate</th>
                <th>summonerLevel</th>
                <th>summonerId</th>
                <th>success</th>
            </tr>

            
                <tr>
                    <td><c:out value="${summoner.internalName}"></c:out></td>
                <td><c:out value="${summoner.name}"></c:out></td>
                <td><c:out value="${summoner.acctId}"></c:out></td>
                <td><c:out value="${summoner.profileIconId}"></c:out></td>
                <td><c:out value="${summoner.revisionDate}"></c:out></td>
                <td><c:out value="${summoner.summonerLevel}"></c:out></td>
                <td><c:out value="${summoner.summonerId}"></c:out></td>
                <td><c:out value="${summoner.success}"></c:out></td>


                </tr>
          

        </table>


    </body>
</html>
